package com.qf.advice;

import org.springframework.aop.ThrowsAdvice;

/**
 * @version v1.0.0
 * @Description:
 * @author: 姜红凯
 * @date: 2022.02.09
 * @since 1.0
 */
public class MyThrowingAdvice implements ThrowsAdvice {
    public void afterThrowing(Exception e){
        System.out.print("异常通知：");
        System.out.println(e.getMessage());
    }

}
